home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Draw / Include / PaletteFrame.h < prev    next >
Encoding:
Text File  |  1994-04-21  |  1.9 KB  |  68 lines  |  [TEXT/MPS ]

  1. //    File:        PaletteFrame.h
  2. //
  3. //    Contains:    Definition for classes:
  4. //                            • CPaletteFrame
  5. //========================================================================================
  6. //
  7. //    File:                            PaletteFrame.h
  8. //    Release Version:    $ 1.0d1 $
  9. //
  10. //    Author:                        Henri Lamiraux
  11. //    Creation Date:        3/28/94
  12. //
  13. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  14. //
  15. //========================================================================================
  16.  
  17. #ifndef PALETTEFRAME_H
  18. #define PALETTEFRAME_H
  19.  
  20. #ifndef DRAWPART_H
  21. #include "DrawPart.h"
  22. #endif
  23.  
  24. // ----- Framework Includes -----
  25.  
  26. #ifndef FWFRAME_H
  27. #include "FWFrame.h"
  28. #endif
  29.  
  30. //==============================================================================
  31. // Forward Declaration
  32. //==============================================================================
  33.  
  34. class CDrawPart;
  35. class FW_CFacet;
  36. class FW_CFloatingWindow;
  37. class XMPFrame;
  38. class XMPWindow;
  39.  
  40. //==============================================================================
  41. // CPaletteFrame
  42. //==============================================================================
  43.  
  44. class CPaletteFrame : public FW_CFrame
  45. {
  46. //------------------------------------------------------------------------------
  47. // Initialization/destruction
  48. //------------------------------------------------------------------------------
  49. public:        
  50.     CPaletteFrame();
  51.     void InitPaletteFrame(XMPFrame* xmpFrame, CDrawPart* drawPart);
  52.     virtual ~ CDECL CPaletteFrame();
  53.  
  54. //------------------------------------------------------------------------------
  55. // Inherited
  56. //------------------------------------------------------------------------------
  57. public:        
  58.     virtual FW_CFacet*         NewFacet(XMPFacet* xmpFacet);
  59.  
  60. //------------------------------------------------------------------------------
  61. // Data Members
  62. //------------------------------------------------------------------------------
  63. private:    
  64.     CDrawPart*                fDrawPart;
  65. };
  66.  
  67. #endif
  68.